package com.resouxs.free_book.service;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ZhuishuService {

    @GET("atoc?view=summary")
    Observable<List<BookSource>> getBookSource(@Query("book") String book);

    @GET("atoc/{sourceId}")
    Observable<ZsBookChapter> getBookChapter(@Path("sourceId") String sourceId, @Query("view")String view);

}
